import 'package:flutter/material.dart';

class StackCase extends StatelessWidget {
  const StackCase({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      width: double.infinity,
      height: 400,
      alignment: Alignment.center,
      decoration: const BoxDecoration(color: Colors.blue),
      child: Stack(
        alignment: Alignment.center,
        clipBehavior: Clip.none,
        children: [
          Container(
            width: 200,
            height: 200,
            decoration: BoxDecoration(
                color: Colors.white, borderRadius: BorderRadius.circular(30)),
          ),
          Positioned(
            top: -30,
            child: Image.asset('assets/log.png'),
            width: 100,
            height: 100,
          )
        ],
      ),
    );
  }
}
